package com.bsp.service.impl;

import com.bsp.dao.SysUserDao;
import com.bsp.domain.SysUser;
import com.bsp.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by zyf
 */
@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserDao sysUserDao;

    public SysUser findByName(String name){
        return sysUserDao.findByName(name);
    }
}
